home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
comm
/
bbs
/
u342q07.lha
/
u_2ndfmt.lha
/
2ndfmt.doc
< prev
Wrap
Text File
|
1994-03-31
|
2KB
|
56 lines
2NDFMT
This utility takes a raw domain information file and translates it into
the form that Citadel uses for routing.
2NDFMT <input file> <output file>
input file is usually NODES0.RAW, a file you would get from C86 Test
system.
Output File should be NODES0.FST, again you would normally get this
file with the other one.
This data is used for routing, if you mess up, you can cause net
confusion so be sure of you changes.
Initial Format
The initial format of the input file is a collection of "domain" records.
Each record begins with the line ".domain <domainname>". Each following
non-blank line designates a system within that domain until EOF or the
next line of format ".domain <domainname>".
Each line designating a system is generically:
<system name>[:<real name>]
Real name is only of use when defining a common alias for a system. For
example,
Test System : C-86 Test System
Final Format
Each line will look generically like this:
[flag byte]<system><tab><domain>[<tab><real name>]<\n>
In English, an entry is composed of an optional flag byte, followed by
the system name and its domain separated by a TAB, optionally followed
by the real system name (again separated by a TAB) if the name is an
alias for someone else.
The optional flag byte is distinguishable by its value, which will be
non-printing (!isprint(x)). Flag byte values will be defined as needed.
Currently, the list of flag values (see 2ndFmt.h, too) is limited to
this:
DUPLICATE - 0x01, this means there is more than one system by this name
in the list. Makes processing a bit easier by main program.